www.gusucode.com > 落叶冰点万能企业网站内容管理系统 V9.1 > 落叶冰点万能企业网站内容管理系统 V9.1\code\Label\custom_Label\菜单系统标签库\nd_x_menu.asp

    <%'$start_ext_newDsoft 以下系统生成,勿删!
'$newDsoft_label_type$:loop_label_two_loop$end_newDsoft_label_type$
'$newDsoft_label_name$:nd_x_menu$end_newDsoft_label_name$
'$newDsoft_label_sql$:ssss$end_newDsoft_label_sql$
'$newDsoft_label_params$:lanmu_type,栏目类型,2|sys_content_type,频道sys_content_type,2|num,每行最大显示分类数,3|url,点分类链接后转向的页面,2|isz,是否显示子分类,是=1,3$end_newDsoft_label_params$
'$newDsoft_label_fenye_num$:99999$end_newDsoft_label_fenye_num$
'$newDsoft_label_beizhu$:二级内容分类导航条$end_newDsoft_label_beizhu$
'$newDsoft_is_sys_label$:0$end_newDsoft_is_sys_label$
'$newDsoft_other_params$:hhend:</table>|hhks:<table   border="0" cellpadding="0" cellspacing="0">$$sx_aspcodex_huanhang${$$include_get_font_str}|sql_run:$$sx_aspcodex_startx1$$$sx_aspcodex_huanhang$if $xxvar$isz=1 then$$sx_aspcodex_huanhang$dsdfds=" "$$sx_aspcodex_huanhang$else$$sx_aspcodex_huanhang$dsdfds=" and deepth=0 "$$sx_aspcodex_huanhang$end if$$sx_aspcodex_huanhang$$$sx_aspcodex_huanhang$if "$xxvar$lanmu_type"="Article" then$$sx_aspcodex_huanhang$sql="select * from ND_Article_class where sys_content_type='$xxvar$sys_content_type' "&dsdfds&" order by clng(deepth) asc,orders asc"$$sx_aspcodex_huanhang$$$sx_aspcodex_huanhang$$$sx_aspcodex_huanhang$end if$$sx_aspcodex_huanhang$$$sx_aspcodex_huanhang$$$sx_aspcodex_huanhang$if "$xxvar$lanmu_type"="down" then$$sx_aspcodex_huanhang$sql="select * from ND_down_class where sys_content_type='$xxvar$sys_content_type'  "&dsdfds&"  order by clng(deepth) asc,orders asc"$$sx_aspcodex_huanhang$$$sx_aspcodex_huanhang$$$sx_aspcodex_huanhang$end if$$sx_aspcodex_huanhang$$$sx_aspcodex_huanhang$if "$xxvar$lanmu_type"="pic_or_sp" then$$sx_aspcodex_huanhang$sql="select * from ND_pic_or_sp_class where sys_content_type='$xxvar$sys_content_type'  "&dsdfds&"  order by clng(deepth) asc,orders asc"$$sx_aspcodex_huanhang$$$sx_aspcodex_huanhang$$$sx_aspcodex_huanhang$end if$$sx_aspcodex_huanhang$$$sx_aspcodex_huanhang$if "$xxvar$lanmu_type"="cp" then$$sx_aspcodex_huanhang$sql="select * from ND_prod_class where sys_content_type='$xxvar$sys_content_type'  "&dsdfds&"  order by clng(deepth) asc,orders asc"$$sx_aspcodex_huanhang$$$sx_aspcodex_huanhang$$$sx_aspcodex_huanhang$end if$$sx_aspcodex_huanhang$$$sx_aspcodex_huanhang$$$sx_aspcodex_endx1$|iffen:0|di2xh_num:$xxvar$num|run_asp1:$$sx_aspcodex_startx1$$$sx_aspcodex_huanhang$set rs44g1=server.CreateObject("adodb.recordset")$$sx_aspcodex_huanhang$rs44g1.open "select * from ND_channel where sys_content_type_name='$xxvar$sys_content_type' and lanmu_type='$xxvar$lanmu_type'",newdsoft_conn_obj,1,1 $$sx_aspcodex_huanhang$$$sx_aspcodex_huanhang$llmname=rs44g1("name")$$sx_aspcodex_huanhang$$$sx_aspcodex_endx1$$$sx_aspcodex_huanhang$$$sx_aspcodex_huanhang$|run_asp2:|yi_ksdaima2:<tr><td><strong>$$sx_aspcodex_startx1$=llmname$$sx_aspcodex_endx1$ >> </strong></td>|ksdaima2:<td>|jiesdaima2:</td>|yi_jiesdaima22:</tr>|rsname:rs_x1|htmledxa:1|htmledxb:$end_newDsoft_other_params$
'$end_ext_newDsoft%>



<%
'获取字体的html
nd_ret_font=getFontMode(rs_x1("classname"),rs_x1("titleColor"),rs_x1("titleFont"),13)

if rs_x1("is_link_class")="1" then
url1=rs_x1("outlink")
else
url1="$xxvar$url?cid="&rs_x1("id")&"&id="&"$xxvar$sys_content_type"
end if
if rs_x1("is_open_use_blank")="1" then
ssop="_blank "
else
ssop="_self"
end if
%>
<table border="0">
    <tbody>
        <tr>
            <td><a target="<%=ssop%>" href="<%=url1%>"><%=nd_ret_font%></a>|</td>
        </tr>
    </tbody>
</table>